import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import base from './common/base'
// 引入 ui 库
import ElementUI from 'element-ui';
// 引入 css
import 'element-ui/lib/theme-chalk/index.css';

// 绑定到原型
Vue.prototype.$axios = axios;

//注册组件库
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
